package cn.com.landsky.camera.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/***
 ** @category 8700 平台...
 ** @author qing.yunhui
 ** @email: qingyunhui@landsky.cn
 ** @createTime: 2019/1/14-17:49
 **/
@Controller
@RequestMapping(value="/camera8700")
@Slf4j
@Api(value = "Camera8700Controller", description = "8700摄像头控制器")
public class Camera8700Controller {

    //==============================================================> 视频应用服务demo begin ==============================================================>

    @RequestMapping(value = "/previewURL.htm",method ={RequestMethod.GET})
    @ApiOperation(value = "视频预览")
    public String previewURL(){
        return "preview";
    }

    @RequestMapping(value = "/playback.htm",method ={RequestMethod.GET})
    @ApiOperation(value = "视频回放")
    public String playback(){
        return "playback";
    }

}
